Skip to content

Replace fragile release steps with gh release create#47

Merged
Aaronontheweb merged 1 commit into
devfrom
fix/publish-nuget-release-workflow
Apr 27, 2026
Merged

Replace fragile release steps with gh release create#47
Aaronontheweb merged 1 commit into
devfrom
fix/publish-nuget-release-workflow

Conversation

@Aaronontheweb

Copy link
Copy Markdown
Contributor

Summary

  • The three-step release flow (create draft → upload assets by tag → publish) is structurally broken: AButler/upload-release-assets can't find draft releases by tag, causing a Not Found error every time
  • Replaced all three steps with a single gh release create call that atomically creates the release and uploads .nupkg/.snupkg assets
  • Removes dependencies on actions/create-release, AButler/upload-release-assets, and actions/github-script

Test plan

  • CI passes
  • After merge, re-tag 0.1.2 and confirm the full publish workflow succeeds

The three-step create-draft → upload-by-tag → publish flow breaks
because AButler/upload-release-assets can't find draft releases by tag.
Replace with a single `gh release create` call that atomically creates
the release and uploads assets.
@Aaronontheweb Aaronontheweb enabled auto-merge (squash) April 27, 2026 20:51
@Aaronontheweb Aaronontheweb merged commit 3b3d546 into dev Apr 27, 2026
5 checks passed
@Aaronontheweb Aaronontheweb deleted the fix/publish-nuget-release-workflow branch April 27, 2026 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant